<script lang="ts">
	import { classMap } from '@smui/common/internal';
	let className = '';
	export { className as class };
	export let span = 1;
	export let style = '';
</script>

<div
	class={classMap({
		[className]: true,
		'table-col': true
	})}
	style={`grid-column: span ${span};` + style}
>
	<slot />
</div>

<style>
	.table-col {
		height: 100%;
	}
</style>
